package test;

public class NiceNice {
	public static void main(String[] args) {
		//3.打印9行 9颗星, 每9个星一个换行
		for (int j = 1; j <= 9; j++) {
			//2.1循环输出9个*, 2.2 九个*在一行输出,2.3每个*后面加一个空格
			for (int i = 1; i <= j; i++) {
				//1.输出*  1*1=1
				System.out.print(i +  "*"  + j + "=" + i * j + " ");
			} 
			System.out.println();
		}
	}
	
	
}
